#include "connect.hpp"

int main(int argc, char *argv[])
{
    if (argc < 3) 
    {
        std::cerr << "Usage: " << argv[0] << " <IP> <PORT>" << std::endl;
        return 0;
    }
    std::string ip = argv[1];
    cout << ip << endl;
    uint16_t port = stoi(argv[2]);

    TcpClient client(ip,port);

    client.Loop();
    return 0;

}